package org.jsola.hr.query;

import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.query.BaseQuery;

import javax.validation.constraints.NotNull;

import static org.jsola.hr.example.AttendPunchRecordExample.E_COMPANY_ID;
import static org.jsola.hr.example.AttendPunchRecordExample.N_COMPANY_ID;

/**
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AttendPunchRecordSimpleQuery extends BaseQuery {

    private static final long serialVersionUID = 1L;

    @ApiParam(value = "员工ID", example = "")
    @NotNull(message = "员工ID不能为空")
    private String empInfoId;

    @ApiParam(value = "年月日;yyyy-MM-dd", example = "")
    @NotNull(message = "年月日不能为空")
    private String ymd;

    @ApiParam(value = "考勤规则ID", example = "")
    @NotNull(message = "考勤规则ID不能为空")
    private String attendPlanId;


}
